<br /><br />
<div id="view-content">
    <div>  Vous recherchez <div id="key" ><?php echo $this->key ?></div> </div>
    <ul>    
        <?php
        foreach ($this->tabEvent as $event) {
            ?>
            <li>
                <div class=articletiny><a class='artTitle'
                                          href="<?php echo $this->url(array('module' => 'default', 'controller' => 'Events', 'action' => 'read', 'id' => $event->getId())) ?>">
                                              <?php echo $event->getTitle() ?>
                    </a>
                    <div class='artHead'>
                        <?php echo $event->getDate() . " " . $this->translate('view_event_readall_by') . " " . $event->getOwner()->toString() . " " . $this->translate('view_event_readall_pertinence') . " " . $event->getPertinence() ?>
                    </div> 
                    <div class='imgtiny'><img src="/appliweb/<?php echo $event->getPicturePath() ?>"/></div>
                    <div class='contenttiny'>
                        <?php echo substr($event->getContent(), 0, 400) ?>...</div>
                </div>
            </li>
            <?php
        }
        ?>
    </ul>
    <ul>    
        <?php
        foreach ($this->tabActivies as $activity) {
            ?>
            <li>
                <div class='article'>
                    <a class='artTitle'
                       href="<?php echo $this->url(array('module' => 'default', 'controller' => 'Activites', 'action' => 'read', 'id' => $activity->getId())) ?>">
                           <?php echo $activity->getTitle() ?>
                    </a>
                    <div class='artHead'>
                        <?php echo $this->translate('view_event_readall_by') . " " . $activity->getOwner()->toString() . " " . $this->translate('view_event_readall_pertinence') . " " . $activity->getPertinence() ?>
                    </div> 
                    <div class='img'><img src="/appliweb/<?php echo $activity->getPicturePath() ?>"/>
                        <div class='content'><?php echo $activity->getContent() ?></div>
                    </div>
                </div>
            </li>
            <?php
        }
        ?>
    </ul>
</div>